home *** CD-ROM | disk | FTP | other *** search
- on wait t
- startTimer()
- set delay to the timer
- repeat while delay < t
- set delay to the timer
- end repeat
- end
-
- on ljudniva
- set x to the volume of sound 1
- repeat while x > 0
- set the volume of sound 1 to the volume of sound 1 - 20
- set the volume of sound 2 to the volume of sound 1 - 20
- updateStage()
- wait(3)
- end repeat
- end
-
- on idle
- global Vcursors, status
- if (Vcursors = 0) and (the machineType = 256) then
- cursor(-1)
- else
- if the mouseCast = 775 then
- cursor([781, 782])
- else
- if the mouseCast = 65 then
- cursor([49, 50])
- else
- if the mouseCast = 62 then
- cursor([49, 50])
- else
- if the mouseCast = 771 then
- cursor([781, 782])
- else
- if the mouseCast = 55 then
- cursor([781, 782])
- else
- if the mouseCast = 56 then
- cursor([781, 782])
- else
- if the mouseCast = 57 then
- cursor([781, 782])
- else
- if the mouseCast = 29 then
- cursor([781, 782])
- else
- if the mouseCast = 30 then
- cursor([781, 782])
- else
- if the mouseCast = 18 then
- cursor([781, 782])
- else
- if the mouseCast = 23 then
- cursor([781, 782])
- else
- if the mouseCast = 777 then
- cursor([787, 788])
- else
- if the mouseCast = 779 then
- cursor([789, 790])
- else
- if the mouseCast = 770 then
- cursor([791, 792])
- else
- if the mouseCast = 761 then
- cursor([795, 796])
- else
- if the mouseCast = 760 then
- cursor([797, 798])
- else
- cursor([799, 800])
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end
-
- on laddahiss
- cursor(4)
- repeat with x = 74 to 112
- preLoadCast(x)
- end repeat
- cursor(-1)
- end
-
- on laddaupphiss
- cursor(4)
- repeat with x = 148 to 158
- preLoadCast(x)
- end repeat
- cursor(-1)
- end
-
- on tommaupphiss
- cursor(4)
- repeat with x = 148 to 158
- unLoadCast(x)
- end repeat
- cursor(-1)
- end
-
- on framtillhiss
- cursor(4)
- repeat with x = 159 to 162
- preLoadCast(x)
- end repeat
- cursor(-1)
- end
-